Opt-in requirements The Kotlin standard library provides a mechanism for requiring and giving explicit consent to use certain API elements.