MAINT: Register virtual subclasses with class decorator.