Completed initial work on protocol2.
Added object instance-based logging.