Making db object initialization a touch nicer