Fix function snippet.