Adapt to new api: t.MethodSet() -> types.NewMethodSet(t)