Wrote more code for EntityPipedItem.