Preparations for database manager.