Altered client materialize method to instantiate a new class each time it is materialized.