Fix context local data being set too early, outside Caramia context.