undefined stdclass