Add support for promise based actions