Remove some error-checking code.