Adding wildcards to raw type parameters in callbacks