Removed six dependency in favor of a compatibility module.