compiler. Fixed generators, fixed #318.