Refactoring of set parameters.
Merge pull request #45 from lagoa/mrafsan/refactor/set_parameters

Refactoring of set parameters.