Add parse_flags field to element nodes