Haxe 3 doesn't support macro class