Abstract binding of classes to the ServiceProvider