Preliminary support for Cloud Databases (fixes #247)