Adding 'deployed' status to model so that one can decide whether to undeploy.