In reply to jamesmackenzie:
Now I remember why I didn’t do that: the component is actually a UVM comparator class, which is defined as a parametrized class. I suppose I could create my own comparator base class to get around this (extending uvm_component directly and ignoring the built-in UVM comparators), but it certainly is a pity that there isn’t another way.