Adds ability to render different templates