Try to avoid passing GlobalStorage to Python by value.