Add costructors to config classes