Add callbacks to major DB methods