To prevent issues with erasure on JVM: it's unclear what such type parameter should be erased to Original commit: d3c17ec337
d3c17ec337