Could you wrap these to return promises with `$q`?