Add accessor and mutator methods for items.