Remove references to deprecated Error module.