Messed up auto replacements.
Fixed refactoring as well.