classes that use this need to provide a provMetadata stream; no longer defined here