Stop assuming the type name of a user-defined function