deprecate RuntimeConfiguration and remove most of its remaining usages