Adds entity reference feature.