Introduce the Foreground type which replaces the context provider and hopefully is more meaningful.