Removed redundant generator.