Update code$ to not refer to pig classes. Using keywords instead

Pig needs to know the return type of the UDF. Other platforms may or may not need this distinction, but now it doesn't refer to specific pig classes.

cc @pkozikow