Added the ability to specify database instance type (datastore).