How does a document class look like? Isn't this a plain PHP class with real properties, or does it have some sort of data array property?