More DB and XML utils.