For a separate pull request... the `toIntArray` should really be using TypeCoercions. Same for `toStringArray(Object)` and `toByteArray(Object)`.