Document tokens are abstracted in document class