Added support for prototyped Arrays, closed #2