rm RBIProtocol class