Regenerate extensions hash.