Add a reference to the item being created.