Adding pathnameOnly attr.