Adds Document class
Adds Document class