Remove cryptic array creation and use in specs