Removing hibernate stuff