Fixed problem with Object class.