Remove unnecessary external resources