Removed traverse dependency, implemented efficient graph walker.