Clean up Context: only accept arrays.