Add to_params method