Changes related to hibernate.