support for reflecting and invoking methods (member functions)