Added a new constructor to the ArtifactGenerator.