Concrete generic declaration for container type to support covariant return types with anonymous classes