**Migrated issue, originally created by Michael Bayer ([@zzzeek](https://github.com/zzzeek))** consolidating #64, #196