More robust handling for empty strings. In this case `defs` elements