Fixes #81. (Thanks @tfgit!)