Removes unnecessary code to reach 100% coverage.