r23583: Add a utility function to recursively delete a Registry