A function that transforms a plugin object before it is consumed by the setting registry.