Fit dict

cc @licode 
Is `foo` an instance of a class or the class itself?