Added ignore functionality to traverse.