Added a method inspection mechanism, storing methods on the class object.