Add use of six library to support checks for string-like classes