Added basic generator.