Unref some variants. TODO: a lot of mem leaks!.