Fix bad name class registrant api