def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def deserialize(self, value):
        """Cast raw string to appropriate type."""
        return decode(value)