Remove spurious dependencies