getters/setters update for Haxe 3 compatibility