Use record notation instead of explicit constructors for ap, transport
Remove unnecessary explicit applications
Merge pull request #1 from jonsterling/minor-cleanup

Minor cleanup