Re-add old API for compatibility.
Work on improving database reads.