Add cascade support to cli and webapp.