Added getElements to PathManager