Treat Document like just another class.

I couldn't find any reason to have special code for it,
why not just put it in the list of classes.