move the set property method to the document class