We should validate the string here and set to null if not a valid value.