Incorporate improved errors in Object and Connection objects.