I still think this needs to be implemented by encapsulating a repository and adding the required functionality yourself. MongoRepository aims to be nothing more than a repository in it's simplest form and implementation. Any additional functionality should
be "layered" on top of this.