Remove extraneous dependencies.