Treat undefined elements like null (expand to nothing).