Support db_write_host and friends