Added IGenerator interface.