Fix compilation error. Adapt the files to the new errors package.