Added support for static fields when getting instance from an expression