Added a method allowing to register params in the upload handler.