Add warnings and errors