Initial support for customizing some things when opening a database.