Add a custom anonymous function snippet.