Renaming classes and methods for publish.