Remove cursor API from document.