Forgot to import types.MethodType