Allow tags to be passed as an array

Closes #6