remove no usage code for protocol package