Adds vinit check for locals.