Add Documentable interface to abstractNode for parent and document attributes.
Add document-specific methods Safe() and BaseDir() to abstractNode.