An API for implementing collection+protobuf services