code: static GenericObject newEmptyInstance(ZooClassDef def, AbstractCache cache) {
  		long oid = def.getProvidedContext().getNode().getOidBuffer().allocateOid();
  		return newEmptyInstance(oid, def, cache);
  	}
docs: Creates new instances.
  @param def
  @return A new empty generic object.