Add checks recommended by http://go-database-sql.org/