Removed unused call to spl_object_hash.