Math and aggregate expressions

Not a super big deal, but it would probably be better to reference the constants for all of these strings (e.g., DateTime.Unit.MILLISECOND instead of "millisecond").