Remove dependencies, properly.