Fix deprecation warnings from 0.4 Dict change. Finishes #203.