Remove unused getRootPath() method