db wrappers: slightly less idiotic ns, db tracking.