added support for calling @expose on bound methods (for run-time exposing)