Feature #3942: Apply extension singleton objects in samples