Fixes #11. Thanks @evantahler!