Refactored categories and components via reflection to use config.