Add 'Empty' parameter to DeleteDirectory.
Update some doc.