Cleanup diary.