@pezra yeah in the end, I have to say I'm pretty uncomfortable with using `ObjectSpace`… I feel you on the assumption of 1:1 file:class definition but as you say that's overwhelmingly common. I would be down to provide some sort of manual override but I'd like to stay away from using `ObjectSpace` in library code.