Continued implementation of generator. Improvement to the domain object being generated. Injecting providers to it. Will require to change the providers class to pass an instance of the provider when creating an instance of the domain object