Add customization options to pipeTo

Closes #201.