Should we allow people to not register the shutdown function? Can you have multiple?