For sub-objects you can set in factory specification:
```php
$this->add([
    'name'   => 'myFieldset',
    'object' => 'Application\Entity\MyEntity',
]);
```