Add contents attribute to Category.