Added the function providers as container resources

Changing the way an expression is compiled should invalidate the
container, so that the change is taken into account.