Actually, what would be easier and even sufficcient for probably a lot of use cases is to have very limited classes, which allow these kind of fancy stuff more easily.
I'm thinking of C++ struct type here, without methods and other "fancy" class-stuff.