Adding reverse traversal.