Add names array. Closes #1