Minor edits to DB interface