Rename "ErrorSink" to "ErrorCollector"
Rename "emitMessage" to "addMessage".
Address code review feedback.