Don't construct an ArtifactType in Output.Add_artifact, the Artifact class does that for us. Next, fix the use of a nonexistent attribute Artifact.valid_kinds