Minor style tweak - I'd do:

``` ruby
@elements.fetch(name, self).prefix
```