Allow methods to be called on class definitions