Allow objects to return the list of public methods when 'keys' is called on a class.