Upgrade optional deps to latest.