Removes error messages that are no longer in the header file.