Added templating system.