Minifying refactoring