Added options for templating elements