Handle empty elements.