Repalced a set with a list, for broader compatibility with py2.6.