Fix typo and shorten upload_to function names.