Implement helper for centidb.