since we're assuming plugin_ids will be an array below it's probably worth type hinting, i.e.
```php
protected function buildPlugins(&$course, array $plugin_ids = array()) {
```