**[Sola](https://jira.spring.io/secure/ViewProfile.jspa?name=soladev)** opened **[DATAMONGO-1817](https://jira.spring.io/browse/DATAMONGO-1817?redirect=false)** and commented kotlin extensions should return `T?` instead of `T` because they have `@Nullable` in plain java version PR link: https://github.com/spring-projects/spring-data-mongodb/pull/510 --- **Affects:** 2.0.1 (Kay SR1) **Referenced from:** pull request https://github.com/spring-projects/spring-data-mongodb/pull/510 **Backported to:** [2.0.2 (Kay SR2)](https://github.com/spring-projects/spring-data-mongodb/milestone/105?closed=1)