Added table view generation for models