Working on db stuff.