factor out protobuf capable wrapped primitive types