Cleanup snippet