Fixed save and remove functions. Simple misplaced closing brace.