Solves problem with Spring Data interoperability.