Removed a semicolon error in Generator class