Replaces $q with bluebirds promise API