added exception messages and an output for objects, which should be
merged
added the copying of edge annotations