added two more model traits for models where there are parents and where they're nested