Modified classs action to suit Kosaraju's SCC algorithm.