Understanding templates and rendering.