Fixed up the stdclass warning