Removed obsolete upload code.