Remove dependencies which can be provided according to the usage