Fixing some GggProtocol bugs.