Implemented interface CommandFactory