Analyzers and visitors now pass methodGen instead of method as param.
Closes #30.