JPModel now supports nested models