Remove db from persistence api.