Moving content logic to provider.