Removes unnecessary info.