Updated comments for category functionality