Added hibernate core to dependencies.