Add support for Promise<> by having a general parameterized support.