Remove global function calls.