GenericJavaSerializerCodec seems to be stateless and counld be a object instead of a class.
Then, NrvProtobufSerializer would be stateless and could be an object as well.