Chemical modification by after-treatment