Add startContainer and endContainer methods to Range object