[ADD] Added categories and subcategories support.