Fix scope.resolveObject.