fixed usage of extends in ClassMaster