Code cleaning in mod_configs_controller.