Added documentation to #upload method.