Add resource property to entity reference fields.