DatabaseProxy finished. Before refactoring.