Just a monkey patch for using multiple databases