Replace removed getPathInfo() method