Cleanup, and throw the exceptions related to save and delete