This is here:  https://github.com/mdsol/crichton/blob/3337f047276415ca3ac5d187d67cc5158d6872ea/lib/crichton/descriptor/state.rb#L15

You should do similar helper for doc vs. doc_property for consistency.