Fixed some function arguments.