Fix parameter name.
Some debugging for Upload model.
Cosmetics.