Fixes issue #775
fixes issue #777
Merge pull request #778 from BenjaminVanRyseghem/master

Adds support for generating methods in Helios