Remove duplicate error callbacks.