Hook up API to be able to stop/kill actions.