I probably wouldn't worry checking for empty strings like this... we don't do so anywhere else.