Fix route parser closure.