Made abstract syntax tree traits sealed.