Minor graph cleanup.