Keep in sync with Trident repo.