Added check for routing.