Need to use "when" promises for Ghost compatibility.