Add ActionComplete and ActionFail to the API