Implemented save and locking for CRater.