Need to make a few changes to the code to fix deprecations since a few dependencies have been updated. Issue originally reported in #34 and fixed by pinning to old dependencies.