Improved generics of some class.