doc_type should be a @property