Fixed stdClass ref.