Adjust register_arguments method. File_upload fixes.