Fix function name in snippet loading example