Convenient method to get a specific document.type