Allowed AutocompleteWidget to work with Entity Reference type.