Removes unnecessary dependencies.