Update spec usages of the new enumeration API.
Make initWithGitDiffDelta take a const.