Making types minification safe