Some minor db tweaks.