Implement the ComposeCommand.

WIP!