Setup isPathComponent