Implemented 'range' method. Added 'beginCapture' and 'endCapture' methods. Added some unit tests.