Fixes warnings caused by missing default param.