Simple array implementation.