Explicitely check for nil instead of relying on falsish values.
Explicitely check for String data.