Changes for Pig UDF