Allow to specify a block direct for stub_command.