Adding hasstatus and hasrestart to supervisor.