Fix typo.
Add .random().
Fix membership check.
Improve Python 3 compatibility.
Bump version.
Merge branch 'develop'