Parsers.config.apply_template - minor refactor