Restructured the way format providers are declared in order to allow optional providers.