       }
     }
     
-    // TODO: can we preserve the type? Maybe with a generic fetchspec?
     let ch = TypedDatabaseChannel<T>(database: database)
-    
     try ch.selectObjectsWithFetchSpecification(fs, tc)
     
     while let o : T = ch.fetchObject() {

 *
 * This is an object store which works on top of Database. It just manages the
 * database channels to fetch objects.
 */
public class DatabaseContext : ObjectStore, SmartDescription {
  

      }
    }
    
    let ch = DatabaseChannel(database: database)
    try ch.selectObjectsWithFetchSpecification(fs, tc)
    
    while let o = ch.fetchObject() {
