Removing unused part about subprotocol.