Fixed incorrect arity of procs.