Add document directory.