Fixed table creation and bad UserType tablename.