Fixed issue #77; constructor is able to handle array of objects now.

Issue #77 is closed with that change; I hope there is no negative impact.