Fix category registry.