Adds support for highlighting errors