Allow for strings in iex h helper

Closes #1540.