Fixed some function calls.