Extract config class.