adding the recursive option for the delete_path() method.
adding minor comment in connection.