Fixing deprecated function, build_navigation().