is this suppose to be `var allPromisedMethods = _.union(promisedMethods, elementPromisedMethods);` ?