Add error classes if things don't write.