Hibernate stuff added