Adds in traverse method.