Array schemas

Closes #7