Clean Pig

Cleaned up some code in Pig.