Made sure that reset() also removes metadata.