Added Hibernate support.