modified lib/traverse.rb.