Redefine class name and remove unnecessary alternative method declarations.