Added CreateTables class and changed p.revalidate() to .