Remove cruft comments/classes from db.api