Fix arity problems for some functions.