Removing unnecessary data.