Add a convinient helper for using DocumentByType view.