Add undeploy flags and documentation