Fixed issue with class instance instantation in from_obj and from_dict missing an input parameter