incremental bailment updates, included bailment API low-level functions and function types for initial compilation testing