Update to latest dependency versions. Fixed incompatibilities.