Don't use defineGetter or defineSetter

I think these are causing issues in Esri Leaflet https://github.com/Esri/esri-leaflet/issues/85