drc: convert 'stubs' to a struct with proper types (rework part 2)