Chaining support for API methods.