Remove an indirect dependency