Clean up graphmigrator a bit.