Compatible with 4-1-stable branch and 4.1.0

Fixes the wrong number of arguments with 4-1-stable branch and 4.1.0