Cleanup of dependencies.