Add some methods to the circular array.