DatabaseServer: Refactor existing handlers and engines to use new calls.