Corrected table definitions on entities.