Basic template functionality.