Add experimental class methods

Behind the ClassMethods pragma