Adding functionality to category items.