Added hibernate integration.