Improves the template