Added setter for more advanced templating