Removing unnecessary strings.