Fixed so that functions containing functions are handled correctly with Y.gen
Bumped version to 0.9.8