Move provisionGrid to Main.