Code migration from http://github.com/noskovd/spring-data-orient.