Cleaned up uload.