Remove core dependencies.