We can remove this line once we've upgraded to a version of Kotlin that supports Java 16.