Fixed metaclass and added some more network tracing.