First cut at fixing the gen of the api
Merge pull request #13 from myitcv/fix-gen-api

First cut at fixing the gen of the api