Move error checking into controller for add command.