Switch display_template and render_template implementations