Do not use dict comprehension to support python 2.6