Finalised traversal, need to make it suitable for pre-commit phase.