Remove unneeded upload code