Refactoring case number normalization to Case model.