Added better reporting for validation errors: Now with line numbers!