Use jshint-compatible Generator declaration