Return nil for empty string elements.
Broke backwards compatibility, update version number.