Adding support for multiple databases.