Fixing bug, missing $object.