BUGFIX: Change to allow serialization/deserialization of graphs
with feedback loops in them.