Removed `detectSupportedFormats` fn, now API is returning promises.