fixing internals to accept String instances - #146