add API for making a call, and make parameters more sensible.