Remove obsolete error messages