The official documentation contains incorrect Kotlin code example (page 237 of pdf).
As a result we have weird parameter clazz: Class<> instead of clazz: Class<*>. Also we have simple comment instead of JavaDoc comment.
Comment From: sbrannen
Good catch!
This has been merged into master.
Thanks