Updated for api calls.