Template rendering.