Added support to remove and rename paths.