Updated Model::__set check whether value is object