Pin to major version of dependencies #921