Even if you were going to stick with the array, you could create setters and getters for these datasources.