Replace deprecated Functions and Calls with their equal Functions and Calls