volt: Better error messages for classes and structs.