A nice generic framework for Protobuf endpoints