Remove obsolete dependencies