Use `six` module for 2/3 compatibility.