Play nicely with generics and visibility.