switch ES5 getters/setters to functions