Improvements to client stack

Mainly, reducing the work needed to build the API methods.