Sets parameters in construct.