Added inferred table name and structure for models