Added from-array.

Now I can do unit tests!!!