Add version property to Generator.prototype