Refactor array data source to take a delegate.

Remove the cell configuration block.