config: Replace code with new helper type.