Repository methods findOne(*) now return an Optional instead of null.