Testing improvement: removing unused parameters in functions.