Remove db functions