Simplified the RobotType class.