renamed Type property from path to name