Added method for returning a flat array from the Model.