Remove old dependencies.

#3481