Added 'activetemplate'-option.