Cleanup and commenting in PacketHandler and ProtocolExtension classes.