Fix deprecated variable access.
Merge pull request #3 from GeoNet/deprecated_access

Fix deprecated variable access.