WIP: Add document widget.