Unwanted public method is made private (minified)