Added comments for reading category.