Make add and remove domains return promises