converted static functions of HaxeSettings to module functions