Switch the order in which tables are declared to match how they are used.