mlang: Convert dll registration to the IRegistrar mechanism.