Cleanup snippet.