set_params method added to statement class