In Haxe 3, nme.ObjectHash should be a typedef to the new haxe.ds.ObjectMap