Fixes undefined argument checks.