drop the Function.Equality requirement from GetTypes