Allow CustomFieldLookupType to be called as a class method
Merge branch '4.2/custom-field-lookup-type-class-method'