Fixed class definition.