Port AvoidClassVars to Parser