CMS-4471 Convert return values for commands.