You should probably call at least:
```php
$this->roles = array();
```
To prevent some notices, as by default `$roles` are `null` not `array` (it's replaced in parent model constructor).