Rope api

Small modifications of the API that will be required for future pull requests such as Splay ropes and Bufferized ropes.