deprecating item() and category(), replaced by addItem() and addCategory()