Conforms to latest version of PromiseKit