Remove Path::getMagicNumber.