Unification of definitions for NCDC. New grepVar function.