Add document class.
Add custom view to document.