Used six compatibility layer (ref #253).