Modify hibernate classes.