Added disconnects and protocol changes.