Fix private scope in SequenceGraph.