Coerce function type.