Implemented saving actions.