Fixing some of the calls to Pig Function refs and updating the snippets.