Basic local db intergration.