added magic methods for the doc_class meta property