Added optional  param to database.truncate.
Don't return self in cursor.each.
Some docs.