Chg: Cleanup API backend. Add: offset to predb API.