proper cleanup of the objects holding the data.