Another way around - generic classes and traits