Removing unnecessary sections