Add Pickle support for GraphDatabase objects