Get rid of most validation errors and warnings