Changed the item created by printing to a reference to the item.