Introduce base class for the bundle.

Created by: stefanoborini

We should have a base class for the bundle, using @provides, so that plugin implementers don't have to worry about that.