Got rid of class 'db'