There will be 2.3.1 beta right after 2.3.0 release from what I understand in "help" forums. YYG seems to already have some another additions/extensions/improvements to what's new in 2.3.0 (probably to not prolong release anymore? Those might be things they came into during beta then). I hope that there will be at least one small addition to simplify mentioned task.Juju, DatZach and Nomminn worked on a destructor/weak reference system for 2.3 which may interest you to play around with.
But var can't be accessed outside.Seems that static stays static as long, as it's not modified from outside of struct, or replaced by var.