Remove some redundant parameters from TemplateCommand