Fixes #13. Thanks for the idea pfaffman!