Added 'var' for fields, and only visit static fields