adds a method that gives you back all the class methods