Replaces some macros.