Added support to create secondary databases.