Safe minification