Array map params

This commit should address issue #4.