Updated some function calls.