support for a 'setKnownType' method on 'ArtifactMetadata'