Remove unused or implicit dependencies