diff --git a/config.go b/config.go
index 5a582ac42026ef1cafb11ce1cd3736b81b8a0266..8f3d4a06e4c540c639461605d03169b725636dbb 100644
--- a/config.go
+++ b/config.go
@@ -2,4 +2,5 @@
 
 package db
 
+// Debug is a variable that, when true, enables query printing.
 var Debug = false
diff --git a/db.go b/db.go
index 41dae1df7c3bebfdc2d6599727b104085f70fb63..a8d222a4df73e5d96ebd9b45162ea7d3ac41fcb3 100644
--- a/db.go
+++ b/db.go
@@ -41,7 +41,6 @@
 //	var people []Person
 //	res = col.Find(db.Cond{"name": "Max"}).Limit(2).Sort("-input")
 //	err = res.All(&people)
-
 package db
 
 // import "upper.io/db"
@@ -103,6 +102,7 @@ type Func struct {
 // 	}
 type And []interface{}
 
+// And adds a new expression to an And conditions array.
 func (a And) And(exp ...interface{}) And {
 	return append(a, exp...)
 }
@@ -120,6 +120,7 @@ func (a And) And(exp ...interface{}) And {
 // 	}
 type Or []interface{}
 
+// Or adds a new expression to an Or conditions array.
 func (o Or) Or(exp ...interface{}) Or {
 	return append(o, exp...)
 }