Add getCursorPosition and stub getColumns.