Pull registerProvider out of api for now