Update for the new CasaCore interface