More work on commands.

Signed-off-by: Steven Downer <grinch@outlook.com>