TS-2943: Add scoped resource class.