Allow to specify a block direct for stub_command.
Merge branch 'stub-commands'