API update: DwcA can be created with the 'with' statement, for automatic cleanup.