Fixed bug in ttp binding
Fixed issue with imports that caused class/import resolution to fail on from_dict() and from_obj().