Add references via entities.