Extending Assets.hx

Hi, how can I extend Assets.hx?
It is impossible to inherit static methods, so… what can I do? I haven’t got any clue.
I’d like to redefine/override and add a few methods, add variables to Assets.AssetsCache etc.

It’s not extending but I think you can replace it if you add a openfl/Assets.hx file to your project.

I have created openflmod.AssetsMod.hx, a modified version of Assets.hx, but I will have to keep track of future Assets updates…