Added boolean parameters to QueryProtocol / QueryMessage