Move CArray setup logic into compose.