Added template option.