First stab at splitting out document() view into logical bits.