public function instantiateEntity($params)
    {

        // Modify params so the class builder knows what was included via with()
        $params->_with = $this->with;

        $params->_fields = $this->fields;

        // Instantiate new entity class
        return new $this->class($params);

    }