Try to make the value type of the callback wrapper explicit - still not successful.