Fixed order of parsing to preserve modified variables.