API: Add ability to freeze categories.