Stop using CheckError helper, use idiomatic Go instead.