This method does two things:
* sets a default command
* adds a command

I'd make it only does what the method name says (set a default command) and make it accept a command name, not a whole command.