Add detail method to Document for accessing document detail from search result (#1)