Moved private implementation functions in broker.d