Remove type list from variant.registered
Cleanup; comment on race condition
Allow removing types
Quote variant_name in variant.registered