Add entity reference types.