I'd like to be able to make it so that Collection<T> is treated equivalently to List<T>. Is there any possible way to do that now with the hooks? And if not, would we be able to make this piece configurable:
internal fun KClass<*>.isListType(): Boolean = this.isSubclassOf(List::class) || this.java.isArray