implementing EntityReferencesField class