Added workaround for py3k inspect.ismethod incompatibility