add a protobuf-net extension.