Allow customization of databaseconnection