Partial migration to use promises with operative