public function newQuery($excludeDeleted = true)
    {
        $builder = parent::newQuery($excludeDeleted);

        if ($this->isSubType())
        {
            $builder->where($this->typeField, $this->getClass($this->typeField));
        }

        return $builder;
    }