Fix Dict warning on v0.4