Added advanced routing.