Updated dependencies for 0.4.0 pre-release.