Cleaned up some excess db stuff.