Added templating from stash