Simplify the class definition.