Fixed config template to be of the right type