Added comment for the get_category function.