DDLStorage: rewritten to use API.