WIP on Db-related stuff.