De-template the ringbuffer

For reasons of code simplicity, mainly.