Add CoreProvider to examples classes.