Migrate static from Python