modified configurations doctrine in ServiceProvider