Pig Design Patterns