Added get_methods() and get_method_by_name() to DocClass