Replaced conf defined type with config class.