Replace non-standard code