DRY up table creation.