Clean up template code