Fixed a bug with addAll not returning a Promise