Only one type allowed in array.
Fixes #7.