Fix incorrect argument names

Fix regression introduced in 3f68f42b6.