proto document