It could be one line instead of one extra: `$record->_attributes[$name] = $schema->getColumn($name)->typecast($value);`