For the extendability of the `form.type.extension`, instead of extending the whole array, I would find it easier if the array contained factories:

Example:

```php
$app['form.type.extensions'] = new Pimple(); // we need an Iterator

$app['form.type.extensions']['image'] = function ($app) {
    return new ImageTypeExtension();
};
```

(I haven't tested)