Better Method Abstraction

Removed the unnecessary arguments from the inner generated functions
for the API.