Made it possible to set the parameters through getters