Remove extra dependencies.