Put assertions inside AST lists constructors.