Gets rid of unneeded local  variables in table create/drop.