Compiled array serializers.

Closes #135.