Cleanup on mutable code.