PasteController: Only include ID of reference entities.