Updated Model::__set check whether value is object for 2.0.0