Attempt to fix some of installation failure cases.
Also prety toString of models.