Add class support for configuration