OTHER: That made no sense at all
OTHER: Replace deprecated calls that snuck past.
OTHER: Fix broken indentation in fetchspec.c.
OTHER: Use function array instead of switch for aggregation.
OTHER: Add _END to fetchspec enums and check bounds on use.