Simplify parsing of declarations, generate better warnings.