RingBuffer: use Element instead of T.