See #11. Now passes Travis CI tests.