Wrap value arrays for constant-time access via values().
Regenerate map types.
Small cleanups.