Handle casts to open generic marker.