Less oldstyle attributes in parser

Migrate some old attribute to new attributes in the parser