Added basic support for tags with multiple values, including tests.