Improve error messages when using several protocol files.