Syntactic changes to shipments interface.

Fixed some syntactic runtime errors