Added 'categories' option to item functions & DB