Add Children and Descendants properties to Cursor. Fix formatting from pull request.