Started to implement the out-of-range arrays. Still quite some work to do.