Simpler (and compatible) way to obtain the mro of a type