Added functions for providers, added Azure support