Better messages for as.db.data.frame