remove unused class in protocol.py