Move globals before first use.