Snatched auich_set_params() function.