added PathComponents and Doc