Add "check/remove dbg var" helper routines.