Broker stub and CLI implementation.