Added initial multimethods for handling db query intercepts.