Fixes #1 and adding unicode as a valid type for is_string