added methods to make MethodTable iterable