Removed duplicated save and load functions.