Replace types.StringTypes with string_types, refs #38.
Merge branch 'master' into issue38_11