Some mid-stage variables undefined.