Added missing promises to composer files