Remove nulls from the syntax layer.