protected function constructStore(Model $model, array $data, array $opts)
{
// Merges and validates data with defaults.
$data = array_merge($this->defaults, $data);
$this->validateData($data);
// Sets properties on model.
$model->name = $data['name'];
$model->description = $data['description'];
$model->lrs_id = $opts['lrs_id'];
$model->query = Helpers::replaceFullStop($data['query']);
$model->since = $data['since'];
$model->until = $data['until'];
return $model;
}