Next iteration on re-writing the DocumentController.