Removing elements from manifest when provider is disabled