Fix for uploading class still sticking around after upload is complete.