Cosmetic refinements to set parameters.

Signed-off-by: Nicola Ferralis <feranick@hotmail.com>