Fix typo various-command function. And extends it.