Optional elements are handled properly.