fix class definition syntax for broker