Added several parameters for templates