Fixes #21. Thanks to Anne van Kesteren.