Fix for changes in 0.4 Dict syntax