Error reporting infrastructure in place so that at least the stuff compiles again