Remove dependencies we don't need.