**Stefan:** _I still hope that we get an answer of a core dev. That use case is very common in OO languages. So I am asking myself already for a long time how to handle it, maybe I have already asked others, I can not really remember. I have for example a lot of legacy Ruby code that extends standard types and C lib types._
While the ambivalent attitude of Nim towards object-oriented programming is still one of my major issues with the language, inheritance is not really the solution for this particular problem. You'd get the fragile base class problem and you'd get covariance issues. What you really want is something like automated delegation (where you can specify that certain calls are forwarded to a component), a feature that unfortunately is rarely supported for statically typed languages. You can do it manually, of course, but that becomes a bit of a headache with the amount of functionality supported for tables. Sufficiently powerful metaprogramming can in principle also offer a solution.
