Remove unnecessary providers