It apparently takes about a dozen magical constants from end to end.  Would it be worth pulling all of those out into a single location?  The primary concern would be AD someday updating one of these when they should really be updating three or four.  All of them in one location would make that harder to screw up.