Fixes function arguments.