Added stubs for Document class