protected function _dataVars($type = null)
{
if (!$type) {
$type = $this->args[0];
}
$vars = [];
$class = ucwords($type);
$vars['secondary_id'] = strtolower($class) === 'aro' ? 'foreign_key' : 'object_id';
$vars['data_name'] = $type;
$vars['table_name'] = $type . 's';
$vars['class'] = $class;
return $vars;
}