Added detection of generator methods to parser and meta info.