Merge "Implement arrays and allocation adapters"