Added support for VarPat.