Address the differences between strings and arrays

Closes #14. Thanks to @allenwb for bringing this up.