Chemical after-treatment or modifications of compounds