This is duplicating the Promise implementation that already exists in the Device Capabilities.