Offer API to get paths as promise of array