Made db deps optional again.