Clean up upload class