Text this: The theory of the virtual class