Replacing sets with tuples, as Python 2.6 doesn't support set literals