Remove v0 legacy code and dependencies.