Added support for fields from type "entity reference".